<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">

	<title>GroupEntity Class Reference</title>

	<link rel="stylesheet" href="../css/style.css">
	<meta name="viewport" content="initial-scale=1, maximum-scale=1.4">
	<meta name="generator" content="appledoc 2.2.1 (build 1334)">
</head>
<body class="appledoc">
	<header>
		<div class="container" class="hide-in-xcode">
			
			<h1 id="library-title">
				<a href="../index.html">OBMessenger </a>
			</h1>

			<p id="developer-home">
				<a href="../index.html">On-Bright</a>
			</p>
			
		</div>
	</header>

	<aside>
		<div class="container">
			<nav>
				<ul id="header-buttons" role="toolbar">
					<li><a href="../index.html">Index</a></li>
<li><a href="../hierarchy.html">Hierarchy</a></li>

					<li id="on-this-page" role="navigation">
						<label>
							On This Page

							<div class="chevron">
								<div class="chevy chevron-left"></div>
								<div class="chevy chevron-right"></div>
							</div>

							<select id="jump-to">
	<option value="top">Jump To&#133;</option>
	

	
	
	<option value="tasks">Tasks</option>
	
	

	
	
	<optgroup label="Properties">
		
		<option value="//api/name/members">members</option>
		
		<option value="//api/name/serverLocalIndex">serverLocalIndex</option>
		
	</optgroup>
	

	
	<optgroup label="Class Methods">
		
		<option value="//api/name/ctlCreateAsName:serverOrLocalBox:ofType:handler:">+ ctlCreateAsName:serverOrLocalBox:ofType:handler:</option>
		
		<option value="//api/name/ctlGetAllUsingPredicate:">+ ctlGetAllUsingPredicate:</option>
		
		<option value="//api/name/ctlGetPredicateForContainEntity:">+ ctlGetPredicateForContainEntity:</option>
		
		<option value="//api/name/ctlGetPredicateForControlable">+ ctlGetPredicateForControlable</option>
		
		<option value="//api/name/ctlGetPredicateForLocalGroup:">+ ctlGetPredicateForLocalGroup:</option>
		
		<option value="//api/name/ctlGetPredicateForMine">+ ctlGetPredicateForMine</option>
		
		<option value="//api/name/ctlGetPredicateForType:">+ ctlGetPredicateForType:</option>
		
		<option value="//api/name/ctlRefresh">+ ctlRefresh</option>
		
	</optgroup>
	

	
	<optgroup label="Instance Methods">
		
		<option value="//api/name/ctlAddMemberDevices:handler:">- ctlAddMemberDevices:handler:</option>
		
		<option value="//api/name/ctlBlindRoom:">- ctlBlindRoom:</option>
		
		<option value="//api/name/ctlDelete:">- ctlDelete:</option>
		
		<option value="//api/name/ctlGetState:">- ctlGetState:</option>
		
		<option value="//api/name/ctlModifyMemberDevices:handler:">- ctlModifyMemberDevices:handler:</option>
		
		<option value="//api/name/ctlRemoveMemberDevices:handler:">- ctlRemoveMemberDevices:handler:</option>
		
		<option value="//api/name/ctlRename:handler:">- ctlRename:handler:</option>
		
		<option value="//api/name/ctlSetActionInScene:withState:">- ctlSetActionInScene:withState:</option>
		
		<option value="//api/name/ctlSetState:handler:">- ctlSetState:handler:</option>
		
		<option value="//api/name/ctlUnBlindRoom:">- ctlUnBlindRoom:</option>
		
	</optgroup>
	
	
</select>
						</label>
					</li>
				</ul>
			</nav>
		</div>
	</aside>

	<article>
		<div id="overview_contents" class="container">
			<div id="content">
				<main role="main">
					<h1 class="title">GroupEntity Class Reference</h1>

					
					<div class="section section-specification"><table cellspacing="0"><tbody>
						<tr>
	<th>Inherits from</th>
	<td>NSObject</td>
</tr><tr>
	<th>Declared in</th>
	<td>OBModel.h</td>
</tr>
						</tbody></table></div>
					

                    

					
					
					<div class="section section-tasks">
						<a title="Tasks" name="tasks"></a>
						

						
						<h2 class="task-title">Other Methods</h2>

						<div class="task-list">
							<div class="section-method">
	<a name="//api/name/members" title="members"></a>
	<h3 class="method-title"><code><a href="#//api/name/members">&nbsp;&nbsp;members</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>/members////</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>@property (nonatomic, readonly) NSSet&lt;DeviceEntity*&gt; *members</code></div>

		    
			

			

			

			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">OBModel.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/serverLocalIndex" title="serverLocalIndex"></a>
	<h3 class="method-title"><code><a href="#//api/name/serverLocalIndex">&nbsp;&nbsp;serverLocalIndex</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>/localControl////</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>@property (nonatomic, assign, readonly) int serverLocalIndex</code></div>

		    
			

			

			

			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">OBModel.h</code></p>
			</div>
			
			
		</div>
	</div>
</div>
						</div>
						

						<a title="OBEntityControl Methods" name="task_OBEntityControl Methods"></a>
						<h2 class="task-title">OBEntityControl Methods</h2>

						<div class="task-list">
							<div class="section-method">
	<a name="//api/name/ctlGetAllUsingPredicate:" title="ctlGetAllUsingPredicate:"></a>
	<h3 class="method-title"><code><a href="#//api/name/ctlGetAllUsingPredicate:">+&nbsp;ctlGetAllUsingPredicate:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>get groupEntities from <a href="../Classes/OBModel.html">OBModel</a> Using Predicate.</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>+ (nullable NSSet *)ctlGetAllUsingPredicate:(nullable NSArray&lt;NSPredicate*&gt; *)<em>predicates</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>predicates</code></th>
						<td><p>filtered predicate array if have</p></td>
					</tr>
				
				</table>
			</div>
			

			
			<div class="method-subsection return">
				<h4 class="method-subtitle parameter-title">Return Value</h4>
				<p>entitySet after using predicates if have</p>
			</div>
			

			

			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">OBEntityControl.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/ctlGetPredicateForMine" title="ctlGetPredicateForMine"></a>
	<h3 class="method-title"><code><a href="#//api/name/ctlGetPredicateForMine">+&nbsp;ctlGetPredicateForMine</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>Predicate by server contain flag if already login.</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>+ (nonnull NSPredicate *)ctlGetPredicateForMine</code></div>

		    
			

			
			<div class="method-subsection return">
				<h4 class="method-subtitle parameter-title">Return Value</h4>
				<p>NSPredicate Predicate object for filtered.</p>
			</div>
			

			

			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">OBEntityControl.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/ctlGetPredicateForLocalGroup:" title="ctlGetPredicateForLocalGroup:"></a>
	<h3 class="method-title"><code><a href="#//api/name/ctlGetPredicateForLocalGroup:">+&nbsp;ctlGetPredicateForLocalGroup:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>Predicate by group type of local or server flag.</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>+ (nonnull NSPredicate *)ctlGetPredicateForLocalGroup:(BOOL)<em>isLocal</em></code></div>

		    
			

			
			<div class="method-subsection return">
				<h4 class="method-subtitle parameter-title">Return Value</h4>
				<p>NSPredicate Predicate object for filtered.</p>
			</div>
			

			

			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">OBEntityControl.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/ctlGetPredicateForControlable" title="ctlGetPredicateForControlable"></a>
	<h3 class="method-title"><code><a href="#//api/name/ctlGetPredicateForControlable">+&nbsp;ctlGetPredicateForControlable</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>Predicate by server online or local accessable flag.</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>+ (nonnull NSPredicate *)ctlGetPredicateForControlable</code></div>

		    
			

			
			<div class="method-subsection return">
				<h4 class="method-subtitle parameter-title">Return Value</h4>
				<p>NSPredicate Predicate object for filtered.</p>
			</div>
			

			

			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">OBEntityControl.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/ctlGetPredicateForType:" title="ctlGetPredicateForType:"></a>
	<h3 class="method-title"><code><a href="#//api/name/ctlGetPredicateForType:">+&nbsp;ctlGetPredicateForType:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>Predicate by device type.</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>+ (nonnull NSPredicate *)ctlGetPredicateForType:(DEVICETYPE)<em>type</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>type</code></th>
						<td><p>type of device</p></td>
					</tr>
				
				</table>
			</div>
			

			
			<div class="method-subsection return">
				<h4 class="method-subtitle parameter-title">Return Value</h4>
				<p>NSPredicate Predicate object for filtered.</p>
			</div>
			

			

			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">OBEntityControl.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/ctlGetPredicateForContainEntity:" title="ctlGetPredicateForContainEntity:"></a>
	<h3 class="method-title"><code><a href="#//api/name/ctlGetPredicateForContainEntity:">+&nbsp;ctlGetPredicateForContainEntity:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>Predicate by any entity contained (device, obox, scene).</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>+ (nonnull NSPredicate *)ctlGetPredicateForContainEntity:(nonnull id)<em>anyEntity</em></code></div>

		    
			

			
			<div class="method-subsection return">
				<h4 class="method-subtitle parameter-title">Return Value</h4>
				<p>NSPredicate Predicate object for filtered.</p>
			</div>
			

			

			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">OBEntityControl.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/ctlRefresh" title="ctlRefresh"></a>
	<h3 class="method-title"><code><a href="#//api/name/ctlRefresh">+&nbsp;ctlRefresh</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>WARNING!!! CLEAN Group Model data only
before called [OBManager loadEntityData:OBM_Group];
room, scene maybe need to reload either</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>+ (void)ctlRefresh</code></div>

		    
			

			

			

			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">OBEntityControl.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/ctlCreateAsName:serverOrLocalBox:ofType:handler:" title="ctlCreateAsName:serverOrLocalBox:ofType:handler:"></a>
	<h3 class="method-title"><code><a href="#//api/name/ctlCreateAsName:serverOrLocalBox:ofType:handler:">+&nbsp;ctlCreateAsName:serverOrLocalBox:ofType:handler:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>create group</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>+ (void)ctlCreateAsName:(nonnull NSString *)<em>groupName</em> serverOrLocalBox:(nullable OboxEntity *)<em>targetBox</em> ofType:(DEVICETYPE)<em>type</em> handler:(nullable CtlResultBlock)<em>inHandler</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>groupName</code></th>
						<td><p>group name</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>targetBox</code></th>
						<td><p>if local group, need target box.</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>type</code></th>
						<td><p>group type of member.</p></td>
					</tr>
				
				</table>
			</div>
			

			

			

			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">OBEntityControl.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/ctlBlindRoom:" title="ctlBlindRoom:"></a>
	<h3 class="method-title"><code><a href="#//api/name/ctlBlindRoom:">&ndash;&nbsp;ctlBlindRoom:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>blind to target room with child</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (void)ctlBlindRoom:(nonnull RoomEntity *)<em>room</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>room</code></th>
						<td><p>target room entity</p></td>
					</tr>
				
				</table>
			</div>
			

			

			

			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">OBEntityControl.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/ctlUnBlindRoom:" title="ctlUnBlindRoom:"></a>
	<h3 class="method-title"><code><a href="#//api/name/ctlUnBlindRoom:">&ndash;&nbsp;ctlUnBlindRoom:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>un-blind to target room</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (void)ctlUnBlindRoom:(nonnull RoomEntity *)<em>room</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>room</code></th>
						<td><p>target room entity</p></td>
					</tr>
				
				</table>
			</div>
			

			

			

			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">OBEntityControl.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/ctlDelete:" title="ctlDelete:"></a>
	<h3 class="method-title"><code><a href="#//api/name/ctlDelete:">&ndash;&nbsp;ctlDelete:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>delete group.</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (void)ctlDelete:(nullable CtlResultBlock)<em>inHandler</em></code></div>

		    
			

			

			

			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">OBEntityControl.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/ctlRename:handler:" title="ctlRename:handler:"></a>
	<h3 class="method-title"><code><a href="#//api/name/ctlRename:handler:">&ndash;&nbsp;ctlRename:handler:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>rename group</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (void)ctlRename:(nonnull NSString *)<em>newName</em> handler:(nullable CtlResultBlock)<em>inHandler</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>newName</code></th>
						<td><p>new name utf8-length max 16</p></td>
					</tr>
				
				</table>
			</div>
			

			

			

			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">OBEntityControl.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/ctlGetState:" title="ctlGetState:"></a>
	<h3 class="method-title"><code><a href="#//api/name/ctlGetState:">&ndash;&nbsp;ctlGetState:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>refresh group state, maybe timeout</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (void)ctlGetState:(nullable CtlResultBlock)<em>inHandler</em></code></div>

		    
			

			

			

			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">OBEntityControl.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/ctlSetState:handler:" title="ctlSetState:handler:"></a>
	<h3 class="method-title"><code><a href="#//api/name/ctlSetState:handler:">&ndash;&nbsp;ctlSetState:handler:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>set group state</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (void)ctlSetState:(nonnull NSString *)<em>hexState</em> handler:(nullable CtlResultBlock)<em>inHandler</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>hexState</code></th>
						<td><p>state hex string</p></td>
					</tr>
				
				</table>
			</div>
			

			

			

			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">OBEntityControl.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/ctlAddMemberDevices:handler:" title="ctlAddMemberDevices:handler:"></a>
	<h3 class="method-title"><code><a href="#//api/name/ctlAddMemberDevices:handler:">&ndash;&nbsp;ctlAddMemberDevices:handler:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>add devices to group</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (void)ctlAddMemberDevices:(nonnull NSSet&lt;DeviceEntity*&gt; *)<em>devices</em> handler:(nullable CtlResultBlock)<em>inHandler</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>devices</code></th>
						<td><p>devices set to add to group (auto judge local or server)</p></td>
					</tr>
				
				</table>
			</div>
			

			

			

			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">OBEntityControl.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/ctlRemoveMemberDevices:handler:" title="ctlRemoveMemberDevices:handler:"></a>
	<h3 class="method-title"><code><a href="#//api/name/ctlRemoveMemberDevices:handler:">&ndash;&nbsp;ctlRemoveMemberDevices:handler:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>remove devices out off group</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (void)ctlRemoveMemberDevices:(nonnull NSSet&lt;DeviceEntity*&gt; *)<em>devices</em> handler:(nullable CtlResultBlock)<em>inHandler</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>devices</code></th>
						<td><p>devices set to remove out off group  (auto judge local or server)</p></td>
					</tr>
				
				</table>
			</div>
			

			

			

			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">OBEntityControl.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/ctlModifyMemberDevices:handler:" title="ctlModifyMemberDevices:handler:"></a>
	<h3 class="method-title"><code><a href="#//api/name/ctlModifyMemberDevices:handler:">&ndash;&nbsp;ctlModifyMemberDevices:handler:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>modify devices in/out off group</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (void)ctlModifyMemberDevices:(nullable NSSet&lt;DeviceEntity*&gt; *)<em>devices</em> handler:(nullable CtlResultBlock)<em>inHandler</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>devices</code></th>
						<td><p>devices set to modify group <a href="#//api/name/members">members</a>, nil to remove all  (auto judge local or server)</p></td>
					</tr>
				
				</table>
			</div>
			

			

			

			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">OBEntityControl.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/ctlSetActionInScene:withState:" title="ctlSetActionInScene:withState:"></a>
	<h3 class="method-title"><code><a href="#//api/name/ctlSetActionInScene:withState:">&ndash;&nbsp;ctlSetActionInScene:withState:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>make actionList using [OBModel makeActionList:withAction:] add to target scene actions Dic.
Need using set scene to send command.</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (void)ctlSetActionInScene:(nonnull SceneEntity *)<em>scene</em> withState:(nullable NSString *)<em>actionState</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>scene</code></th>
						<td><p>target scene (local or server)</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>actionState</code></th>
						<td><p>action hex string</p></td>
					</tr>
				
				</table>
			</div>
			

			

			

			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">OBEntityControl.h</code></p>
			</div>
			
			
		</div>
	</div>
</div>
						</div>
						
					</div>
					
					

                    
                    
          
				</main>

				<footer>
					<div class="footer-copyright">
						
						<p class="copyright">Copyright &copy; 2017 On-Bright. All rights reserved. Updated: 2017-06-09</p>
						
						
						<p class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.2.1 (build 1334)</a>.</p>
						
					</div>
				</footer>
			</div>
		</div>
	</article>

	<script src="../js/script.js"></script>
</body>
</html>